package com.boot.dao;

import com.boot.entity.UsersInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

import javax.transaction.Transactional;

/**
 * Created by Administrator on 2017/2/8.
 */
@Transactional
public interface UsersDao extends CrudRepository<UsersInfo, String> {

    public UsersInfo findByUserName(String userName);



}
